package com.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 员工等级表数据层
 *
 * @author z 'y
 */
@Mapper
public interface LevelMapper {
    /**
     * 查询员工岗位权重
     *
     * @param levelId the level id
     * @return the position weight by level id
     */
    @Select("select positionWeight from level where levelId=#{levelId}")
    double getPositionWeightByLevelId(long levelId);
}
